strongswan: remove checks for UCI config
authorStijn Tintel <[email protected]>
Tue, 1 Aug 2017 00:49:42 +0000 (02:49 +0200)
committerStijn Tintel <[email protected]>
Mon, 7 Aug 2017 18:19:18 +0000 (20:19 +0200)
commit44ef6048e22a1614504ba5c9b9568d5e954ef0d0
tree3efed824a7793d47fe16871e56a1b8e6cb85345c
parent3097a8919e6f5281103cfa95458acb0696dfdc38
strongswan: remove checks for UCI config

In commit 36e073d8201fe7cf133ef3eea41f8855c3344c71, some checks were
added to see if the UCI config file exists and if there are any peers
configured in it. Due to these checks, if /etc/config/ipsec exists, but
contains no enabled peers, strongswan will not be started. This is not
ideal, as a user might want to experiment with the UCI config while
keeping existing connections in /etc/ipsec.conf operational.

Signed-off-by: Stijn Tintel <[email protected]>
net/strongswan/files/ipsec.init